{% extends "base.html" %}
{% block body %}
    <body class="text-center">
        <div class="container">
            <form method="post" class="form-register">
                {{ form.hidden_tag() }}
                <h1>注册页</h1>
                <br>{{ form.username(class="form-control", placeholder="用户名..") }}
                <br>{{ form.email_address(class="form-control", placeholder="电子邮箱.") }}
                <br>{{ form.password1(class="form-control", placeholder="密码..") }}
                <br>{{ form.password2(class="form-control", placeholder="确认密码..") }}
                <br>
                <div class="checkbox mb-3">
                    <h6>如果已经有账号了
                        <a class="btn btn-sm btn-outline-warning btn-secondary" href="{{ url_for('LoginPage') }}">注册</a>
                    </h6>
                </div>
                {{ form.submit(class="btn btn-lg btn-outline-warning") }}
            </form>
        </div>
    </body>
{% endblock %}